#ifndef _EPOLLSERVER_H_INCLUDED_
#define _EPOLLSERVER_H_INCLUDED_

#include "server_logic_pt.h"
#include "server.h"

#ifdef  __cplusplus
extern "C" {
#endif

struct server_s* 
epollserver_new(int num, logic_on_enter_pt logic_on_enter, logic_on_close_pt logic_on_close, logic_on_recved_pt logic_on_recved, int recv_buffer_size, int send_buffer_size);
void epollserver_delete(struct server_s* self);

#ifdef  __cplusplus
}
#endif

#endif
